import { request } from './request.js';

export const BANNER = 'banner';
export const RECOMMEND = 'recommend';

// 首页banner图数据
export function getHomeMultidata() {
  return request({
    url: '/home/multidata'
  })
}



// 首页商品列表数据
export function getHomeData(type,page) {
return request({
    url: '/home/data',
    params: {
      type,
      page
    }
  })
}



